/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package slicktest.factories.marshallers;

import java.util.List;
import org.newdawn.slick.SlickException;
import slicktest.entities.ImmobileEntity.ImmobileEntity;

/**
 * marshalls part of a file to an ImmobileEntity, given a particular type.
 * @author enrightt
 */
public interface ImmobileEntityMarshaller {
    //create an instance of an Entity based on a known type.
    public ImmobileEntity marshall(String type) throws SlickException;

    //use this to get a list of all available types for this Marshaller.
    public List<ImmobileEntity> getModels();
}
